package day05;

public class homework5 {
    public static void main(String[] args) {
        say();
        say("zhangsan");
        say("zhangsan",25);
    }
    public static void say() {
        System.out.println("大家好，我叫YQ，今年35岁了");
    }
    public static void say(String name) {
        System.out.println("大家好，我叫"+name+",今年35岁了");
    }
    public static void say(String name,int age){
        if(age>=60){
            return;
        }

        System.out.println("大家好，我叫"+name+"，今年"+age+"岁了");
    }
}
